<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/admin/js/engine.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/jq_validate.js"></script>
<script type="text/javascript">
$(function(){
	$('#password').validate('required','请填写密码').validate('minlength',6,'密码长度至少6个字符').validate();
	$('#passwordAgain').validate('required','请再次填写新密码').validate('custome',function(value){
			 if(value==$('#password').val()){return true;}else{return false;}
		},'两次输入的密码不一致，请重新输入').validate();
	$('#dataForm').submitValidate();	
});
</script>
<body class="mainBackground">
	<include file="Public:menu" />
	<div class="main" id="mainContainer">
        <!--发布-->
    	<div class="content_box">
        	<div class="content_box_t">
            	<h3 class="fl">
                修改密码</h3>
            </div>
            <div class="content_box_c">
            	<form action="__ACTION__" method="post" id="dataForm" name="dataForm">                                        
                	<div class="field pt15">
						<label>用户名</label>
                        {$data.username}
					</div>                   
                     <div class="field pt15">
						<label>新密码</label>
						<input class="text_input w15_input" type="password" name="password" id="password" value="" />
                        <span class="input_notification  png_bg" id="passwordTip"></span>
						<small>必填</small>
					</div>
                	<div class="field pt15">
						<label>再次输入新密码</label>
						<input class="text_input w15_input" type="password" name="passwordAgain" id="passwordAgain" value="" />
                        <span class="input_notification  png_bg" id="passwordAgainTip"></span>
					</div>                                                                         
                    <div class="field pt15 clearfix">
                    	<input type="hidden" name="id" value="{$data.id}"/>   
                    	<input type="submit" value="提交" class="public_button fr" />
                    </div>                                                                               
                </form>
            </div>
        </div>            
        <!--发布结束-->
    </div>
</body>
</html>
